package com.miplus.ccrm.core.service.action;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.miplus.ccrm.common.CmdResVo;
import com.miplus.ccrm.common.JSysUser;
import com.miplus.ccrm.core.controller.vo.action.*;
import com.miplus.ccrm.core.pojo.FiAmort;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
* @author pc
* @description 针对表【fi_amort(协商分期表)】的数据库操作Service
* @createDate 2024-04-12 21:15:04
*/
public interface FiAmortService extends IService<FiAmort> {

    IPage<FiAmortResVo> fiAmortList(JSysUser user, FiApplyReqVo paras);

    CmdResVo fiAmortAdd(JSysUser user, FiAmortAddVo paras);

    CmdResVo fiAmortCancel(String $usrid, FiApplyCancelVo paras);

    CmdResVo fiAmortConfirm(String $usrid, FiApplyConfirmVo paras);

    List<FiAmortDetailVo> fiAmortPre(FiAmortAddVo paras);

    CmdResVo fiAmortStop(String $usrid, FiApplyCancelVo paras);

    CmdResVo expAmort(JSysUser user, FiApplyReqVo paras, HttpServletResponse response);
}
